package priv.menguer.command.service.impl;

import priv.menguer.command.controller.Stock;
import priv.menguer.command.service.Order;

/**
 * @Title BuyStock.java
 * @description TODO
 * @time 2018年10月26日 上午11:00:48
 * @author menguer@126.com
 * @version 1.0
 */
public class BuyStock implements Order {
	private Stock abcStock;

	public BuyStock(Stock abcStock) {
		this.abcStock = abcStock;
	}

	public void execute() {
		abcStock.buy();
	}
}
